@extends('layouts.console_header')

@section('title', '充值记录详情')

@section('resources')
    @parent
    <!-- css 文件 -->

@endsection

@section('content')
<!--  html内容  -->
<section class="user_list">
	<div style="border-bottom: 2px solid #9955c6;overflow: hidden;">
		<p class="fz_14 account_title fl" style="border: none;"><span style="color: #7f7f7f;">首页>订单管理>充值订单列表></span><span class="co_violet">详情</span></p>
		<a onclick="history.go(-1);" href="#"><p class="fr tc back_btn">返回</p></a>
	</div>
	<table class="WEB_details">
		<tr>
			<td>
				<span>用户昵称：</span>
				<span>{{$nickname}}</span>
			</td>
			<td>
				<span>用户账号：</span>
				<span>{{$mobile}}</span>
			</td>
		</tr>
		<tr>
			<td>
				<span>充值日期：</span>
				<span>{{date('Y-m-d H:i:s', strtotime($created_at))}}</span>
			</td>
			<td>
				<span>充值金额(元)：</span>
				<span>{{$money}}</span>
			</td>
		</tr>
		<tr>
			<td>
				<span>充值方式：</span>
				<span>{{$path}}</span>
			</td>
			<td>
				<span>充值单号</span>
				<span>{{$rechargenumber}}</span>
			</td>
		</tr>
		{{--<tr>
			<td>
				<span>翻贝券：</span>
            @if($doublestatus != 1)
				<span>未使用</span>
            @else
                <span>已使用</span>
            @endif
			</td>
			<td>
				<span>朋友圈：</span>
            @if($sharestatus != 1)
				<span>未分享</span>
            @else
                <span>已分享</span>
            @endif
			</td>
		</tr>--}}
	</table>
	<ul class="recharge_progress">
		<li>
			<p>充值详情</p>
		</li>
    @if($path != '后台充值')
		<li>
			<span class="fl">充值金额（元）：</span>
			<span class="fl">{{$money}}</span>
		</li>
		<li>
			<span class="fl">服务费（元）：</span>
			<span class="fl">{{$fee}}</span>
		</li>
		<li>
			<span class="fl">实付金额（元）：</span>
			<span class="fl">{{$actualmoney}}</span>
		</li>
		<li>
			<span class="fl">到账翻倍金额：</span>
			<span class="fl">{{$doublemoney}}</span>
		</li>
    @else
    	<li>
			<span class="fl">后台充值金额（元）：</span>
			<span class="fl">{{$money}}</span>
		</li>
		<li>
			<span class="fl">服务费（元）：</span>
			<span class="fl">{{$fee}}</span>
		</li>
		<li>
			<span class="fl">实付金额（元）：</span>
			<span class="fl">{{$actualmoney}}</span>
		</li>
		<li>
			<span class="fl">到账翻倍金额：</span>
			<span class="fl">{{$doublemoney}}</span>
		</li>
        <li>
            <span class="fl">操作人： {{$adminname}}  {{$adminmobile}}</span>
            <span class="fl">备注：{{$note}}</span>
        </li>
    @endif
	</ul>
</section>
@endsection

@section('scriptResources')
    @parent
    <!-- js 文件-->

@endsection